package com.springbootdf.controller;


import com.springbootdf.common.Result;
import com.springbootdf.mapper.ItemGameMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wy
 * @since 2022-09-29
 */
@RestController
@RequestMapping("/itemgame")
public class ItemGameController {
    @Autowired
    private ItemGameMapper itemGameMapper;

    @GetMapping("/noReviewList/{id}")
    public Result noReviewList(@PathVariable Integer id){

        return Result.success(itemGameMapper.noReviewList(id));
    }
}

